package com.andova.face;

import android.view.SurfaceHolder;

import androidx.annotation.Nullable;

import com.andova.cameraview.Size;

import java.util.List;

/**
 * Created by Administrator on 2018-03-09.
 * <p>相机检查回调</p>
 *
 * @author kzaxil
 * @since 1.0.0
 */
public interface ICameraCheckListener {
    void checkPermission(boolean isAllow);

    void checkPixels(long pixels, boolean isSupport);

    @Nullable
    Size checkPreviewSize(List<Size> sizes, @Nullable SurfaceHolder holder);

    @Nullable
    Size checkPictureSize(List<Size> sizes, @Nullable SurfaceHolder holder);
}
